/* 头部设计 */
.sy{
  margin-left: 160px;
}
/* 导航栏设计 */
.box{
  width: 1154px;
  margin-left: 160px;
  margin-right: 160px;
  background: url("../img/image2.jpg");
}

.box ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 1154px;
}
.box li {
  flex: 1;
}

.box a {
  display: block;
  text-align: center;
  height: 4rem;
  line-height: 4rem;
  overflow: hidden;
}

.box li > a {
  font-size: 1rem;
}


/* 0. 网站统一样式定义 */
html {
    font-size: 62.5%;
  }
  
  body {
    color: #000;
    --site-width: 100%;
    font-size: 1.2rem;
    line-height: 2rem;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul,
  figure {
    margin: 0;
    padding: 0;
  }
  
  li {
    list-style-type: none;
  }
  
  /* 链接默认 */
  a {
    text-decoration: none;
    color: #333;
  }
  
  a:hover {
    color: #ffffff;
  }
  
  /* 图片尺寸处理：依据父容器进行图片自适应 */
  image1 {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  
  /* 第一层布局语义容器的宽度 */
  header,
  nav,
  main,
  footer {
    width: calc(var(--site-width));
    margin: 0 auto;
  }
  
  /* 0-2. 公共定义 */
  .fl {
    float: left;
  }
  
  .fr {
    float: right;
  }
  
  .cl {
    clear: both;
  }
  
  .mt30{
    margin-top: 3rem;
  }
  /* "首页"默认显示风格，将来需要JS来控制 */
  nav li:first-of-type > a {
    color: #ffffff;   
  }
  
  nav li:hover > a {
    color: #ffffff;
  
  }
  
  /* 二级菜单定义 */
  nav ul.sub_menu {
    display: none;
    position: absolute;
  }
  
  nav li:hover ul.sub_menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #ffffff;
    width: calc(120rem / 9);
    z-index: 999;
  }
  
  nav ul.sub_menu a {
    color: #282828;
    font-size: 18px 宋体;
  }
  
  nav ul.sub_menu li:hover > a {
    background-color: #ffffff;
  }
  /* main部分设计 */
  /* 图片轮转 */
  #my-slider {
    margin-left: 160px;
    margin-right: 160px;
    width: 1000px;
    height: 340px;
    border: 0px solid azure;
  }
  .slider-list > ul {
    width: 100%;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 0px solid azure;
  }
  .slider-list__item,
  .slider-list__item--selected {
    position: absolute;
    opacity: 0;
    transition: opacity 1s;
  }
  
  .slider-list__item--selected {
    opacity: 1;
  }
  
  .slide-list__next,
  .slide-list__previous {
    margin-left: 160px;
    margin-right: 160px;
    color: rgb(250, 242, 242);
    background-color: rgb(176, 175, 175);
    padding: 0 8px;
    font-size: 24px;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.5s;
  }
  .slide-list__next {
    right: 0;
  }
  .slide-list__previous {
    left: 0;
  }
  .slide-list__next::after {
    content: '>';
  }
  
  .slide-list__previous::after {
    content: '<';
  }
  
  #my-slider:hover .slide-list__next {
    opacity: 1;
  }
  #my-slider:hover .slide-list__previous {
    opacity: 1;
  }
  
  .slide-list__control {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px 5px 3px;
    position: absolute;
    margin: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 180px;
    border-radius: 12px;
  }
  
  .slide-list__control-buttons,
  .slide-list__control-buttons--selected {
    background-color: rgb(251, 248, 248);
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-top: -50px;
    margin: auto;
    border-radius: 50%;
    cursor: pointer;
  }
  .slide-list__control-buttons--selected {
    background-color: rgb(243, 91, 3);
  }
  /* 正文部分 */
  .text{
    margin-left: 160px;
    margin-right: 160px;
    width: 500px;
    height: 300px;
    background-color: rgb(154, 236, 245);
  }
  
  .text1{
    margin-top: -300px;
    margin-left: 800px;
    margin-right: 700px;
    width: 500px;
    height: 300px;
    
  }
  .text2{
    margin-top: -130px;
    margin-left: 800px;
    margin-right: 700px;
    width: 500px;
    height: 300px;
  }
  .text3{
    margin-top: -140px;
    margin-left: 160px;
    margin-right: 160px;
    width:1100px;
    height: 100px;
  }
  .text4{
    margin-top: -10px;
    margin-left: 160px;
    margin-right: 160px;
  }
  /* 蓝条 */
  .test{
    margin-left: 500px;
    margin-right: 300px;
  }





